import React from 'react';
import './App.css';
import {renderRoutes} from 'react-router-config'
import {BrowserRouter} from 'react-router-dom'
import {createLayoutRoutes} from "@/common/routes";

function App() {

  const routes = createLayoutRoutes()

  return (
    <BrowserRouter>
      {renderRoutes(routes)}
    </BrowserRouter>
  );
}

export default App;
